function mkselected(id, value)
{
    var loca = document.getElementById(id).options ;
	for(var i=0;i<loca.length;i++){
		if(loca[i].value == value)
			loca[i].selected = true ;
	}
}
